package com.cxk.hr.pojo;

import java.io.Serializable;

import java.util.Date;

/**
 * 请假表
 * 
 * @author 84157
 *
 */
public class Leave implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer employee_number;
	private Integer department_number;
	private Date start_time;
	private Date end_time;
	private String days;
	private String type;
	private String reason;
	private String manager;
	private String status;
	private String notes;

	private Employee employee;
	private Department department;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getEmployee_number() {
		return employee_number;
	}

	public void setEmployee_number(Integer employee_number) {
		this.employee_number = employee_number;
	}

	public Integer getDepartment_number() {
		return department_number;
	}

	public void setDepartment_number(Integer department_number) {
		this.department_number = department_number;
	}

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public String getDays() {
		return days;
	}

	public void setDays(String days) {
		this.days = days;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Employee getEmployee() {
		return employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	@Override
	public String toString() {
		return "Leave [id=" + id + ", employee_number=" + employee_number + ", department_number=" + department_number
				+ ", start_time=" + start_time + ", end_time=" + end_time + ", days=" + days + ", type=" + type
				+ ", reason=" + reason + ", manager=" + manager + ", status=" + status + ", notes=" + notes
				+ ", employee=" + employee + ", department=" + department + "]";
	}

}
